TYVM for the quick reply... Suggestion works...
To be clear... When | was added as additional to encode character in editor settings and then typed straight in to the editor it actually also gets changed to undefined and not like I stated before leaves it as it was... So atleast adding it made the | harmless to the insert and update functions...
For your advice to work I first had to remove the added | as additional to encode character from the settings of the editor...
TYVM AND WKR RV