update the domain