Update url's in templates