Update camera.js