update the dates