change reference for union members after union name adding