Add update handling to installer and uninstaller