update and fix some websockets matters