changed update_scores in parser.py