update demo device-orientation-events