making invoice dates update when you change the invoice