Update graph_crf.py