updating taxonomy hierarchy