AMENDMENT NO. 1 TO SECOND AMENDED AND RESTATED NOTE PURCHASE AND PRIVATE SHELF AGREEMENT