update readme to reflect api change