AMENDED & RESTATED CUSTODY AGREEMENT