edit the index page