Update coordinates.