updating client