Update vm_api.c