update position calcration