Added hooks for install wizard
Fix bug in post-update script
Another fix for postupdate
Actually fixed postupdate