Update README.md

simplify example code