update document for web