update the main.py from tabs to spaces