You can click on a row that contain a specific group and then click the edit button (the pen symbol) on the product details screen to start editing a group name or code
You can also click the add SKU or remove from this segment to add product sku to this group or to remove it.
Step 2: Update the information
You can modify the old information into a new once and click Save when you are done.