updated main and gyro h