Update code examples in README