update resource domain