EXHIBIT 1 AMENDED AND RESTATED SERIES A PREFERRED STOCK PURCHASE AGREEMENT