update the redactor