update test function