udpated xtdb2proc