AMENDMENT NO. 5 TO CUSTODY AGREEMENT