update package.json and use it for metadata