update readme for api change