Update README.md

fix method signature for failure callback in README
Merge pull request #563 from klochner/master

Update README.md