Lower casing group names in the database