Fast and Exact Matrix Factorization Updates for Nonlinear Programming