Modify the model template