updating VertexBuffer to use Vector3