updated the registration process