AMENDMENT NO. 3 to Term Loan Agreement