updated ws_fnc_createGroup