update client example