updated DocumentUP.document