update socket server