after updating documents