updating subontolgies