It seams not possible to run hooks only on specific package updates
Installation and configuration of Opensearch.