modify connection