Update form and form validate js