revise the libnsq