update domain and baseurl