Update README.md

Updated code examples.