add flash notice when updating profile details