update form login and register