update README to take into account changes in the API