update for connection