Update README.md

Updated examples to latest syntax.