API updated in readme