update client api