Update dates to update the order