Update README.md and example code