added changes for documents