sets model data