Amended and Restated Shareholder Maintenance Agreement