rename of updateConnection and removeConnection to updateClient and removeClient