insert and update with tinymce