channeldb: refactor `UpdateInvoice` to make it simpler to create SQL specific implementation
itest
lntest