Add DB group class
Add DB group class
Update functions