Update README to document the new api