update document
inViewport revert situation