refresh main.py