Add support for updating an invoice