update prerequisites before test.