fix issue when updating invoice line