update c_learning