What should I do if renaming a custom object does not reflect the correct name in related Object picklists?
Sometimes, if a custom object has been renamed, the name change won’t be reflected in lookup relationships visible from the Related Objects picklist in the Merge Field Generator.
Example: Project 1 was renamed Project 2. However, the related object still uses the old naming convention within the Related Objects picklist: Projects_1__r.
To fix this, navigate to Setup > Object Manager. Here, you can edit the lookup relationship on the relevant object and update the Child Relationship Name to the correct name.
Using the example above, if the Project 2 object has a lookup to the Account object, you will need to update the Child Relationship name from Projects_1 to Projects_2 to keep the naming consistent.