Updates to cache and lock file