small updates to websockets