form validation ex updated