updeate client example