Updates to sensor example
Updates to sensor example