adds edits to viewcontrollers