modified the query methods to support groups as well as nested field hashes/objects.
Modified the update methods to be able to share to a group