How to update the invoice series if an invoice gets deleted?