Adds updating of invoices.
Use new updateOrInsertInvoice
Use new List API
Adds missing callback invocation.