update package.json
update pkgInfo object