change index and show pins views