saving and deleting connections