update websocket rails js