edit to the index page