add auto-update to package.json