solved html rendering problem on note update