update datepicker config