modify threadpool