Updating readme and examples for correct callback API