added flash in updating name in profile setting