accelerometer update period works