implemented waiting for camera updates