Update README.md

Fixes to example code