update readme to match promise API