AMENDMENT NO. 6 TO WAREHOUSE LOAN AGREEMENT AND RELATED DOCUMENTS