Update a field's value condition not working