update document servlet