update vm.c