update qatrix lib
implement discussion event handlers