Samsung has pushed June security patch for the Samsung Galaxy S4 and Galaxy S5 Mini smartphones. The updates are being rolled out via OTA. Hence, it will take few days for the update to hit your handsets.
While the June security patch for the Samsung Galaxy S5 Mini is tagged with the build number G800FXXU1CQE1, the Samsung Galaxy S4 (China) comes with the software version I9500ZCUIQD1. In addition to security patches, the June security update also includes fixes to various bugs reported via the feedback system.
Before proceeding to install the update, you need to activate Wi-Fi and charge the handset at least up to 70 percent. However, you can install the update even when the handset is charged 35 percent. The size of the update will be less and hence you can easily install it without any difficulty. Meanwhile, a full-blown Android 7.0 Nougat will be bigger and you need to charge completely.
If you have access to the above-mentioned devices, you will receive an update notification via OTA. It will take few days to receive the update since Samsung has pushed it in a phased manner. Alternatively, you can manually verify the presence of the update by navigating to Settings | About | Software updates.