update threejs obejct