updating app.js socket.io and redis