fixup bug from updatergenerator optimization

Created by  Bowei Liu  on December 28, 2020
L333MXTIQMSKHAH3GQM2DL6TRSGWFZYU7VAVEUPORLR537NRWBFQC
Change contents