update union aggregate