update README.md to match new callback pattern