Added a metod updateSkeleton