update example to show power_on