EXHIBIT 10.2 AMENDED AND RESTATED SECURITY AGREEMENT