update virtual machine