updated flash messages