Update github.py to work with new admin panel code