modify connection_type