update package.json and composer.json