events datepicker upgrade