Shoud have updated these SQL scripts when completing group management