move grub check after the upgrade

fixing grub before the upgrade does not fix grub