update text background for legibility