update some settings.py and tmeplates files