Update filter_dict.py