The firmware of the ZD determines all AP firmware.
If you upgrade the ZD the APs pick that up and upgrade to same level (assuming APs are on the supported types list in release notes of the upgrading firmware).
APs and ZD can only work together when on same firmware.
In a ZD environment the ZD controls firmware upgrading to APs, you do not do them separately.