update user registration and update