updating role