Updating QR factorization with sparse updates