merge with latest pulls
Merge pull request #1645 from tdawson/tdawson/node-preun-fix

fix preun on updates