add postinstall and postupdate hooks to package.json