updated pages with index and show actions