change thread table