update after classDemo