Added ability to edit connections.