updated readme with new api