update the skeleton