update mysql2 connection