Edits the main page