DOCS-2246 add updateUser method

Ready for merge.