update class collection