AMENDMENT NO. 6 TO LOAN DOCUMENTS