Update README.md

Gives deprecated warning without error parameter