UPS has invested heavily in adding new capabilities and digital tools over the past few years, as commerce has become more digital and complex.