updated README.md - endCallback is optional