Exhibit 4.6 AMENDED AND RESTATED WARRANT AGREEMENT