update feature vector