diff --git a/cli/updates_xml_build.php b/cli/updates_xml_build.php
index fb46371..c7b3435 100644
--- a/cli/updates_xml_build.php
+++ b/cli/updates_xml_build.php
@@ -374,13 +374,12 @@ function buildEntry(
$lines[] = " {$displayName}";
$lines[] = " {$displayName} {$stabilityLabel} build.";
// Element in updates.xml must match what Joomla stores in #__extensions.
- // Plugins are stored as bare element (folder handles grouping).
- // All other types need their prefix: mod_, com_, tpl_, pkg_, lib_.
+ // Plugins and templates are stored as bare element (no prefix).
+ // Other types need their prefix: mod_, com_, pkg_, lib_.
$prefixMap = [
'package' => 'pkg_',
'module' => 'mod_',
'component' => 'com_',
- 'template' => 'tpl_',
'library' => 'lib_',
];
$dbElement = isset($prefixMap[$extType]) ? $prefixMap[$extType] . $extElement : $extElement;