Primary keys in collection groups, group query updates, view primary keys