edit index page