updated readme to reflect new API