public function doUpdate(Updater $updater)
{
try {
$config = Config::getInstance();
self::migrateBrandingConfig($config);
self::migratePrivacyManagerConfig($config, new PrivacyManagerConfig());
$config->forceSave();
} catch (\Exception $e) {
throw new UpdaterErrorException($e->getMessage());
}
}