Fix datepicker not updating the dates correctly