Can you please see the following example: https://codepen.io/svetoslavjqwidgets/pen/MWqqpKR

In it, if there isn’t a template, a new one is set.
If there is already a template, only the element is being modified.
May you do the same thing without render or refresh?

Best Regards,
Svetoslav Borislavov

Smart UI Team