removing and updating role