update server-client