update for disable patch thread
update test case