If you want to access the new iOS 18 features on your AirPods Pro 2, the update is already live. You're already updated if you see version 7A294. You can verify this in the AirPods settings on your connected iOS device. Of course, your iPhone must be updated to iOS 18 before you proceed.
If your AirPods Pro 2 hasn't updated, you can initiate it yourself. Listen to music for around 30 seconds. Afterwards, put the AirPods back in the case. If you see that the buds don't immediately disconnect from the Bluetooth menu, that means the update is happening. Keep the charging case closed and near your phone to finish the process. The AirPods Pro 2 will disconnect when the process is over.