fix update_currency for received invoices