change the index and map page