How to get entity position (latitude longitude) from existing position?

I have an entity with an existing position of Cesium.

var pin = viewer.entities.add({
position : Cesium.Cartesian3.fromDegrees(-75.170726, 39.9208667),
billboard : {
image : pinBuilder.fromColor(Cesium.Color.ROYALBLUE, 48).toDataURL(),
verticalOrigin : Cesium.VerticalOrigin.BOTTOM
}
});

I want to update the “position” of the pin. I have an entity with an existing position of Cesium.

How do I do something like:

pin.setHeight(10000)?

Or how do I do something like:

pin.position = Cesium.Cartesian3.fromDegrees(pin.position.getLongitude(), pin.position.getLatitude(), 10000)?

You can get the cartographics from a Cartesian: http://cesiumjs.org/Cesium/Build/Documentation/Cartographic.html?classFilter=cartogr#.fromCartesian
oldPositionCartographics = Cesium.Cartographic.fromCartesian(pin.position);
pin.position = Cesium.Cartesian3.fromDegrees(oldPositionCartographics.longitude, oldPositionCartographics.latitude, 10000);

``

Thank you.