Update package.json and avoid data manipulation through events.