Update lib/core
Fix issue with package.json