chore(docs): fix code examples