updating editor view