prevent conflict between update document and grant