LU decomposition and some updates