adds edits to main file