update thread sync