To update products by collection, make your way to the Manage Products tab.
Next, filter the products by your desired collection.
https://www.loom.com/share/86e0f7a55cf648c395639035ec5206a7
If you’d like to filter products by a different kind of grouping, create a collection for them through Shopify’s Products admin first.
Lastly, update the products individually.