update thread files