adding code for zookeeper path cache