|#450|+Anshul|modified server side code for updating roles,front-end changes for role type