Save only the models that were edited