update thresholds for 0 values