loopscript for updates on vms