test case for document update added