thread class updated