rewrote eureka registry