update api in readme