update create thread