update diversity_table_compare. multiple groups