Conformed Copy AMENDED AND RESTATED SECURITIES PURCHASE AGREEMENT