updated README to reflect the changes in the API