upgrade conf.py