set auto thresholds