updated sensor state