validation checked on update event