If it's an OTA firmware update pushed by Samsung, you may not be able to avoid it and the phone can be forced to run the update by itself. That's what happened during the Galaxy Note7 debacle, to neuter the battery charging. And others have reported their Samsung phones apparently force updated as well.