update test resource