update component.json for component