update navlinks to use url_for from index