update the resource test