update to use foundation datepicker