update the registration form