edit search by date