Amended and Restated CUSTODY AGREEMENT