fixing updating tries