thresholds update