Update the template of index page.