update to make vm in one shot