update header file of thread worker