Update README.md

Updated code to take advantage of the callback features