update rich editor