update img_feat to save patch feats as matrix