AMENDMENT NO. 2 to Term Loan Agreement