update i2c can read write