updating sensors