Update Templates to for prev/next links