modify accelerometer data