AMENDED AND RESTATED TMI SHARE PURCHASE AGREEMENT