made changes to update function as per new UI, and updated 3 tests
Merge pull request #508 from sghai/role-update

UI Roles: made changes to update function as per new UI, and updated 3 tests