modify how to add vm informations