update api calls