Updating topology sketch