thread num update