AMENDMENT NO. 5 TO MARGIN LOAN AGREEMENT