fix post-package-update script