updated nn, qtlua