Update code with support of the Gyroscope