Fix example in README to reflect current API