Change doc to the model