update sparse outputs due to sparse matrix change