updateClassInfo function added,which updates feature parameters of each class