resource model update