clear course cache during upgrade