Updated the document location after page deletion or a page layout reset