actually save socket.io in packages.json and fix event name for mongodb