update readme file to reflect api change