datepicker component updated