fix textarea value bug after first update