added intransaction block for doc revisions