Add support for updating invoices

I think this might also close out #99.