update structure for camera and light