update thresholds in the compiler