SEVENTH AMENDMENT TO THE CUSTODY AGREEMENT