I wrote the below code to assign a role to Users, however it creates a new role in table rather updating role for existing user.
Here is my below action method