update crf model