var _updater = new ParametersUpdater(doc.Application.ActiveAddInId);
UpdaterRegistry.RegisterUpdater(_updater, doc);
BuiltInCategory[] categories = GetCategories();
var filter = new ElementMulticategoryFilter(categories);
UpdaterRegistry.AddTrigger(_updater.GetUpdaterId(), doc, filter, Element.GetChangeTypeElementAddition());
UpdaterRegistry.AddTrigger(_updater.GetUpdaterId(), doc, filter, Element.GetChangeTypeGeometry());
var eid = new ElementId(BuiltInParameter.RBS_PIPING_SYSTEM_TYPE_PARAM);
UpdaterRegistry.AddTrigger(_updater.GetUpdaterId(), doc, filter, Element.GetChangeTypeParameter(eid));