Document patch method