update api calls in client