update character length, UI style