updates to sensor data and query string