position api update