comments and checking for updated_vars in vm.py