update define.py