Update camera logic