Change document table so that the docid cannot be edited