update the model convert method