Update datepicker.