saving back to the model