Update README.md

Corrected variable name in sample code to make it run