text update and UI change