[bugfix] updating to new matrix api