updating skeleton