update cloudstack api for virtual machine