changed date to be saved on search