The water heater was replaced in 99. Should it not be brought up to that years code
I would say yes to that as would any remodel job.
If you replaced the electrical panel, would you not have to install GFCIs and AFCIs to comply with today's standards?
IMHO