udpate readme with the new api