update code for user_roles