Hi gregorybishop42,
While updating to our new version, if you made direct changes in the code then all your customized code will be lost. So you need to create a child theme so that you will be safe from data loss.
First unhook the function and then customize the code in your child theme. you can add this action hook under child theme or customize the code but each and every time you update a theme, you need to add the same thing again and again.
Thank you!