updates registration form