update test condition