Update README.md

Update code sample and version dependencies.