Before datepicker update.