Texas gives Herman 2-year contract extension