update datepicker
bug fix