more matrix updates