Update thread_worker