Update socket.mock.coffee to support updates on an object