update class files automatically