updating baseurl in nav