fix updating of 3d scene