saving the changes of features