update socket server for production