updated redis connection