update the UI style, although it is still very urgly