modify thresholds