updated redis intitializer