Changing button style after interaction using Discord.js v13

I’m trying to make a rock paper scissors game using buttons, however, I’m new to 13v and this is my first time using buttons, I wanted to make it where when the user clicks the button of their choice, that button turns green aka its style turns into “SUCCESS” but it’s not updating on the Discord API, seems like styles aren’t Read-only so, does anyone have any idea why is this happening?

My code:


const db = require('quick.db')
const { MessageEmbed, MessageButton, MessageActionRow } = require('discord.js')
const { BOT_PREFIX } = require('../config')
const commandName = 'rockpaperscissor'


module.exports = client => {
    client.on('messageCreate', async message => {
        if (message.author.bot) return
        if (!message.content.startsWith(BOT_PREFIX)) return

        const command = message.content.split(' ')
        const args = message.content.substring(1).split(' ')

        if (command.toString().toLowerCase().replace(BOT_PREFIX, '').startsWith(commandName) || command.toString().toLowerCase().replace(BOT_PREFIX, '').startsWith('rps')) {
            const buttonRow1 = new MessageActionRow().addComponents(
                new MessageButton()
                .setCustomId('rock')
                .setLabel('ROCk')
                .setStyle('SECONDARY')
                .setDisabled(false),
                new MessageButton()
                .setCustomId('paper')
                .setLabel('PAPER')
                .setStyle('SECONDARY')
                .setDisabled(false),
                new MessageButton()
                .setCustomId('scissors')
                .setLabel('SCISSORS')
                .setStyle('SECONDARY')
                .setDisabled(false)
            )
            
            const filter = (interaction) => {
                if (interaction.user.id === message.author.id) return true;
                interaction.reply({ content: 'This game isn't for you.' })
            }

            const collector = message.channel.createMessageComponentCollector({
                filter,
                max: 1,
            })

            message.reply({ content: 'Testing!', components: [buttonRow1] })
      
            const choices = ['Rock', 'Paper', 'Scissors']
            let botChoice = choices[Math.floor(Math.random() * choices.length)];

            let userBalance =  parseInt(await db.fetch(`${message.author.id}.balance`))
            if (userBalance == null) userBalance = 0
            function randomNumber(min, max) {
                return Math.floor(Math.random() * (max - min+1)+min);   
            }
            let reward1 = randomNumber(153, 535)
            function randomNumber(min, max) {
                return Math.floor(Math.random() * (max - min+1)+min);   
            }
            let reward2 = randomNumber(553, 1460)
    
            collector.on('end', async (buttonInteraction) => {
                const interaction = buttonInteraction.first()
                if (interaction.customId == 'rock') {
                    if (botChoice == 'Rock') {
                        interaction.reply({ content: `I chose Rock too, so it's a tie!nYou got `$${reward1}` as a small reward.`})
                        await db.set(`${interaction.user.id}.balance`, userBalance + reward1)
                        interaction.component.setStyle('SUCCESS')
                    } else if (botChoice == 'Paper') {
                        interaction.reply({ content: `I chose Paper, so I win!`})
                        interaction.component.setStyle('SUCCESS')
                    } else if (botChoice == 'Scissors') {
                        interaction.reply({ content: `I chose Scissors, so you win!nYou got `$${reward2}` as an award!`})
                        await db.set(`${interaction.user.id}.balance`, userBalance + reward2)
                        interaction.component.setStyle('SUCCESS')
                    }
                }
            })
        }
    })
}

There is no error at all.

More Info:

Discord.js version: '^13.6.0'
Node version: '16.14.0'
npm version: '8.3.1'