docs: update code examples