update classess