Update AttributeGroupController.php