updated views & flash messages