update user type