Update README.md

Updates code examples to match with version 0.3