auto-update cache

Now all actions will also auto-update the cache. The cache will only
fully update if out-of-date.