Updating codebook with original feature info