Update README.md

Updated documentation for API change