update test api