update readme to match API change