update expect_error learners