updated color tresholds