DOCS-2246 add updateRole method

READY FOR DOCS TEAM REVIEW