update the form validator