Amtrak is giving its overnight trains an overhaul and making plans to replace its long-distance train cars with newer versions.