update domain and address