modify redis connection