update server method