Fix share hook for updater