Update gateway group references when name changes