add functionality to alter virtual machine

ref TheWeatherCompany/grid-api#122