Upgrade TUI framework