more functions migrated to redisdb