renewed the edit window