implementing edit message and also added tinymce