Update dict_based_nerd.py