modify documents