Just of records, to note that RHEL's YUM, DNF or even the freaking Yast2 of SuSE does NOT play at all with bootloaders while updating packages.
Basically, who do this thing is the very Package Manager (aka RPM) because in
pre-install and
post-install scripts from packages are coded commands for.
Also to note that they does NOT *upgrade* kernel packages, usually they have an install/remove only policy for these particular packages. And this thing I will love to see adopted also in Slackware.