AMENDED AND RESTATED TECHNICAL SERVICES AGREEMENT