Fix readme to reflect the changes in the api.