update thread control