update url to use baseurl