Update collect statistic according to new db design