upate editor