updates editor on page navigation