Iptables resets when OSMC gets updates

when OSMC gets updates, iptables is reset, is there a way to prevent this? :confused:

How are you setting up iptables?


I added the rules and saved iptables with “sudo iptables-save” in sbin folder, if I restart my raspberry pi B+, the rules remain, but if the O.S. (OSMC) gets updates, the iptables is reset and I have to re-add the rules