update --cache for generalized bottle impl