upgrade to support new ccv pretrained model