Trigger text macro update when adding and removing elements