Recommended practices when using human-friendly slugs as identifiers

Hello, I have 2 collections:

Categories collection

{
    "name": "Fruit", 
    "slug": "fruit"
}

Products collection:

{
  "name": "Banana",
  "categoryDetails": {
    "name": "Fruit",
    "slug": "fruit"
    }
}

Is there an accepted standard for what should happen if a Category’s name is updated? Specifically:

  1. Should the slug be regenerated for the Category?
  2. And perhaps more importantly, should the Category details be updated on each and every product, since the old details are no longer valid and point to nowhere?

Thank you very much!