AMENDMENT NO. 38 TO MASTER INVESTMENT ADVISORY AGREEMENT