Updated the README.md and sample code.