update readme to reflect new API