add redis support