FIRST AMENDMENT TO TERM LOAN AGREEMENT