Modify thread