tui library upgrade