update ThreadFactory