update index and 404 page.