diff --git a/cli/updates_xml_build.php b/cli/updates_xml_build.php
index e5c88bc..0dcd587 100644
--- a/cli/updates_xml_build.php
+++ b/cli/updates_xml_build.php
@@ -217,12 +217,12 @@ $releaseTagMap = [
$primarySuffix = $stabilitySuffixMap[$stability] ?? '';
$primaryVersion = $version . $primarySuffix;
-// Build client tag — only needed for templates and modules (site vs admin).
-// Packages and components don't use client; plugins use folder instead.
+// Build client tag — Joomla requires site to match updates
+// to installed extensions. Without it, extension_id=0 in #__updates.
$clientTag = '';
if (!empty($extClient)) {
$clientTag = " {$extClient}";
-} elseif (in_array($extType, ['template', 'module'])) {
+} else {
$clientTag = ' site';
}