def update feature selection and svm