auto-update wildcards also for dynamically added elements (e.g. added or duplicated classes)