updated threshold estimator