edit main page