Update threadpool