update readme to the current API