adds the date in the model