update Tui-x in flash