Updated code examples in README