updated the HtmlEditorPanel