function commThermalNoiseBlockReplace(block, muObj)
    % commThermalNoiseBlockReplace Update Thermal Noise block
    %
    %  Input arguments:
    %    block - handle to the block being updated
    %    muObj - model updater object
    
    % Copyright 2022 The MathWorks, Inc.

    if askToReplace(muObj, block)
        newParamNameValue = {'LegacyMode','off'};
        
        funcSet = uSafeSetParam(muObj, block, newParamNameValue{:});
        reasonStr = message('comm:system:ThermalNoise:reason').getString;

       appendTransaction(muObj, block, reasonStr, {funcSet}); 
    end
end
