Updating package.json with dependency informction