adapted readme to reflect new api