AddModel and UpdateModel replaces by SetModel.