function CEL_ExpressionUpdated(Source, EventID, cqg_expression, index_, varargin)

try
    % Informing about record update and recalculating correlation.
    disp(['The record with ', num2str(index_), ' index has been updated.']);
    disp('Recalculating correlation:');
    SyncAndCalcCorr(cqg_expression);
catch
    CEL_ShutDown;
    disp('An error occurred in CEL_ExpressionUpdated.m file.');
end