Updates the connectiona and html section