added datepicker in detail view
added new model version with date attribute