fixed update in ServerMain