Extension Installer/Triggers/onBeforeExtensionUpdate
From Joomla! Documentation
< Extension Installer | Triggers
The onBeforeExtensionUpdate trigger occurs before the update of an extension. It has the following parameters:
- type
The type of extension that is being installed, for example 'component' or 'plugin' - manifest
A copy of the manifest of the extension about to be installed. This is only populated when the method is 'install'.