Lingering damage from Sandy and years of wear and tear are behind the major upgrades to viaducts and bridges along the line.