update vector2,3D