Fixed text update bug