change index and footer