Update controlpanel.py