update vector3.js