Update to support caching with redis