added updatePosition flag