update revenue to calc off of invoice.created_at instead of invoice_item.created_at