api calls update