Update position by components.