Update messages socket.coffee