api update client