update is correctly closing the editor display