update readme to reflect API changes