update total_group