ERROR AUTO UPDATING INVOICES