25,000 teachers to get one-year extension