calibrate update Y threshold