updated new api to new vm