update create_groups file