corrected saturation limit test code in update functions