DOCS-2246 add updateRole method