form validation on update modal window