updating to server