fix bug of bulk update