update classgenerator