update vector2
added vector3