server update and client update