updating client stuff