updated setting.py