update package.json with extra fields