Document update (partially done)