add key tree manager