Update usage of resource to new format.