edits index page