update settings.py and drop some extra things