Updating api client.