removed errors from test cases, added new function to update mongo fields(redundant not needed)
delete fixed for new groupids