Update flask settings.