update server.cc