updated position api