AMENDMENT NO. 5 TO LOAN DOCUMENTS