Updating color thresholds