MBH: adding whole group edit query