persist edits