update kvm code statistics