program removes and past dates and updates the dates within next two weeks