Hi. This sounds like a bad implementation. Probably you had modified the core Joomla! template and of course you lost all your changes with the update. That's why you should never edit core files. You should use overrides instead. However, i don't see how this is related with K2. Do you face any issues regarding K2?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)