update compareDate