fix bug of mass update