start of updating invoice update method