Home Depot to invest in tech and supply chain upgrades