Update gyroscope.py