updating client example