Settings update

Settings update. Passing in flash message variables