9400 works different SVL
May be you talking about Cat 9300
if you have configured : On the Master stack - new member will be automatically upgraded.
software auto-upgrade enable
If they are already stack want to upgrade below steps will be upgrade whole stack : (check the syntax before you using it)
Note - make sure always backup the config out of the box.
#request platform software package clean switch all
#dir usbflash0:
#copy usbflash0:cat9k_xxxxx.bin flash:
#request platform software package install switch all file flash:cat9k_xxxxx.bin auto-copy
#reload