EXHIBIT 4(d) AMENDED AND RESTATED TRUST AGREEMENT