update transaction.id to be stored as int but be searched on as string
change transaction.invoice_id to int