AMENDMENT NO. 2 TO THE AGENCY AGREEMENT