Update profile, flash notice in layout