update various dmenu operations, like ctrlp