add support for redis model