add thread manager
update rec