socket/thread updates