Update ThreadPool.