Add tunnelPortsUpdated variable to help track if tunnel ports were added or not when updates are applied.