Hamilton, Florida St. agree on 5-year extension