update README for API change