updated time display on index and show pages