Update 404 pages with history back