add redis db support