update the Louvain