added prod aggregator to edb.cc using base of sum_uda