added sleep statement to example bash sensor update script