Enhance docs for update_attribute [ci-skip]
Merge pull request #14364 from why-el/better-docs-for-update-attribute

Enhance docs for update_attribute [skip ci]