update and fix I2C library