replacing type by asset_type_id