edit to main page