edit page index