fixing bug in vagrant plugin update function