adoption and application of egress and sprinkler requirements in codes for existing buildings