Update vector.lua