datepicker changed and adopted