Update README.md

code corrections in readme samples