update core.py for each mod