update prompt menus
plan multi-threading