update skeletonization