Adjust thresholds