update datepicker issue