@vanessa
That is precisely why you put these things in a child theme.