updated README.md with API change