Set latestID