saving changes to svm stuff