add update document