to ensure that egress and sprinkler requirements are met by existing buildings