minor changes to actually save edits