Amended and restated DEPOSIT AGREEMENT