update dd api and add datepicker demo