Change a loaded crossbow with an arrow to loaded with air

Im making a revolver that uses raycasting, and for the model i use a crossbow, in version 1.19 i could do this command:

item replace entity @s[nbt={SelectedItem:{id:"minecraft:crossbow",tag:{Charged:1b}}}] weapon.mainhand with crossbow{ChargedProjectiles:[{id:"minecraft:air",Count:1b}],Charged:1b,CustomModelData:1,display:{Name:'["",{"text":"Revolver","italic":false}]'}}

but in version 1.21.4 i dont know the syntax

Continue to help post