Update libqes to latest API