update the README with the API