Update and fix package.json dependencies