update text content & show scrollbar arrows