Update README.md

Replaces outdated code with new working code.