Update field conditionaly.