updated the readme to reflect the changes in the API