It would help to see the code that you use to update the elements.
I assume you set custom properties on an element using the “new text box and dropdowns”. If you do that, you should use modeling.updateProperties(). This will ensure that with the update of the element, also various other things happen (e.g., updating references, enabling undo/redo, …).