update using the new grouping API with the previously imaplemented grouping algorithm