Update vm.cpp