refactored uploadVehicleTask