updating both component.json files