Updated readme.md to replace the old example code that no longer works.