adds edits to variables