[CB-4825] use CoreMotion framework for accelerometer
[CB-4825] avoid retain cycle in update block