They are not invalidating legal tender, they are simply replacing it note for note with modern, harder to counterfeit bills.