update readme to reflect API