modify the UI