diff --git a/scripts/update/Updater.php b/scripts/update/Updater.php
index <HASH>..<HASH> 100644
--- a/scripts/update/Updater.php
+++ b/scripts/update/Updater.php
@@ -528,13 +528,9 @@ class Updater extends common_ext_ExtensionUpdater
         $this->skip('12.23.0', '12.26.1');
 
         if ($this->isVersion('12.26.1')) {
-            $file = __DIR__ . DIRECTORY_SEPARATOR .
-                '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR .
-                'core' . DIRECTORY_SEPARATOR .
-                'ontology' . DIRECTORY_SEPARATOR .
-                'widgetdefinitions.rdf';
+            $widgetDefinitionsFilePath =  __DIR__ . '/../../core/ontology/widgetdefinitions.rdf';
             $api = core_kernel_impl_ApiModelOO::singleton();
-            $api->importXmlRdf('http://www.tao.lu/datatypes/WidgetDefinitions.rdf', $file);
+            $api->importXmlRdf('http://www.tao.lu/datatypes/WidgetDefinitions.rdf', $widgetDefinitionsFilePath);
 
             $this->setVersion('12.27.0');
         }
Apply suggestions from code review

UNO-<I> chore: simplify `widgetdefinitions` path building in `Updater.php`