DOCS-2246 add updateRole method

READY FOR DOCS REVIEW