gem file db grouping update