edit ConnectedComponent