update collection & document views