updated account and transaction query to include related data