update class analysis