AMENDMENT TO AMENDED AND RESTATED CREDIT AGREEMENT AND POST-CLOSING UNDERTAKINGS AGREEMENT