update test method