update document usage