Update README.md

fixed error event definition