update thread
update thread