update domain position