edits controller