updating links in base template