update to element_name for resource model