update thread data