update pmenu for gui usage