update nosql sample for groups