update functionality for tinyMCE v4