SECOND AMENDMENT TO MASTER CUSTODIAN AGREEMENT