add new connection api