Add rake task for updating all caches and set dependencies