update client + server