keeping cache up to latest for each pack and returning replace id -- needs more tests