update dic.py file