The U.S. military in Afghanistan says it is spending $ 83 million to upgrade its two main air bases at Bagram and Kandahar .