Updates composer.json file.