gyroscope functions update