update thread package