migrating to redis