@Override
    public void updateData(String path, byte[] data) {
        try {
            Stat stat = zk.setData(path, data, -1);
            nodes.get(path).setStat(stat);
        } catch (KeeperException e) {
            e.printStackTrace();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }