made changes to redis stuff