diff --git a/modules/product/commerceg_product.module b/modules/product/commerceg_product.module
index 48267b6659075db490dd9f6c00827db5419694a6..b7ddb3fbcd4a38a3db201b812e5b6b682a0c60ec 100644
--- a/modules/product/commerceg_product.module
+++ b/modules/product/commerceg_product.module
@@ -17,29 +17,27 @@ use Drupal\Core\Entity\EntityInterface;
 /**
  * Implements hook_ENTITY_TYPE_insert().
  *
- * Clear the cached group content enabler plugin definitions when a new product
+ * Clear the cached group relation type plugin definitions when a new product
  * type is created so that it can be recognized without having to rebuild
  * caches.
  */
 function commerceg_product_commerce_product_type_insert(
   ProductTypeInterface $product_type
 ) {
-  \Drupal::service('plugin.manager.group_content_enabler')
-    ->clearCachedDefinitions();
+  \Drupal::service('group_relation_type.manager')->clearCachedDefinitions();
 }
 
 /**
  * Implements hook_ENTITY_TYPE_delete().
  *
- * Clear the cached group content enabler plugin definitions when an existing
+ * Clear the cached group relation type plugin definitions when an existing
  * product type is deleted so that it can be removed from the available plugins
  * without having to rebuild caches.
  */
 function commerceg_product_commerce_product_type_delete(
   ProductTypeInterface $product_type
 ) {
-  \Drupal::service('plugin.manager.group_content_enabler')
-    ->clearCachedDefinitions();
+  \Drupal::service('group_relation_type.manager')->clearCachedDefinitions();
 }
 
 /**