udpated datepicker issue