Revert "use a map to track the features whose weights need to be udpated"

This reverts commit aa86472ddf260b49d7bef63718b05d81c378aa54.