edit pages index and show