update generate user type