Update Comparator.py