First of all, NVIDIA GPU driver should be updated to >=527.41 to allow SAFR CUDA 12 installation. More information about NVIDIA CUDA drivers compatibility is here: CUDA Compatibility (nvidia.com)
After updating GPU driver, you should download and overinstall SAFR CUDA 12. It's not required to uninstall the SAFR previous version installed.