update of string editing(replace newline by br)